package net.qhzw.vip.qiyu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 租车支付详情
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "dts_car_rental_refund")
public class DtsCarRentalRefund implements Serializable {
    /**
     * 记录ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 订单ID
     */
    @TableField(value = "order_id")
    private Long orderId;

    /**
     * 订单流水号
     */
    @TableField(value = "order_number")
    private String orderNumber;

    /**
     * 订单总金额
     */
    @TableField(value = "order_amount")
    private Double orderAmount;

    /**
     * 订单支付流水号
     */
    @TableField(value = "flow_trade_no")
    private String flowTradeNo;

    /**
     * 第三方退款单号(微信退款单号)
     */
    @TableField(value = "out_refund_no")
    private String outRefundNo;


    @TableField(value = "app_id")
    private String appId;

    /**
     * 订单支付名称
     */
    @TableField(value = "pay_type_name")
    private String payTypeName;

    /**
     * 买家ID
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 创建时间
     */
    @TableField(value = "created")
    private Date created;

    private static final long serialVersionUID = 1L;
}